package com.commonEncryptionAlgorithms.hashFunction.hash.SHA;

public class Run {
    public static void main(String[] args) {
        String input = "Hello, World!";

        // 计算SHA-256散列值
        String sha256Hex = SHAEncipher.SHA_256(input);
        System.out.println("SHA-256: " + sha256Hex);

        // 计算SHA-512散列值
        String sha512Hex = SHAEncipher.SHA_512(input);
        System.out.println("SHA-512: " + sha512Hex);
    }
}
